import pytest
from commin import log_set,send_mail
if __name__ == '__main__':
    log_set()
    pytest.main(['-s','test.py','--html=baogao.html'])
    send_mail(['serviceplatformlog.txt','baogao.html'])